package com.suxin.datahub.core.meta;

import com.suxin.datahub.domain.DataSourceDomain;
import com.suxin.datahub.domain.database.TableInfo;
import com.suxin.datahub.core.DataBaseQueryService;

import java.util.List;

/**
 * @Classname MySqlDataBaseServiceImpl
 * @Description [ MySqlDataBaseServiceImpl ]
 * @Author Tang
 * @Date 2020/11/9 17:34
 * @Created by ASUS
 */
public class MySqlDataBaseMetaServiceImpl extends AbstractDataBaseMetaService {

    public MySqlDataBaseMetaServiceImpl(DataBaseQueryService dataBaseQueryService, DataSourceDomain dataSourceDomain) {
        super(dataBaseQueryService,dataSourceDomain);
    }

    @Override
    public List<TableInfo> getTables() {
        return super.getTables();
    }

    @Override
    public TableInfo getTableColumns(String tableSchema, String tableName) {
        return super.getTableColumns(tableSchema, tableName);
    }

    @Override
    public Boolean testConnection() {
        return super.testConnection();
    }
}